package com.tuanzi.loan.business.service.xhh.settlementsystem;

import com.tuanzi.loan.business.entity.xhh.settlementsystem.XhhSettlementCompany;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.xhh.settlementsystem.XhhSettlementCompanyRequest;
import com.tuanzi.loan.vo.response.xhh.settlementsystem.XhhSettlementCompanyResponse;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author caiwanlin
 * @create 2018-08-16 20:02
 */
public interface XhhSettlementCompanyService extends BaseAuditService<XhhSettlementCompany,Long> {
    Page<XhhSettlementCompanyResponse> list(PageSearcher<XhhSettlementCompanyRequest> pageSearcher);

    List<XhhSettlementCompany> getCompanyList();

    XhhSettlementCompany findByCompanyName(String companyName);

    void onDelete(Long id);
}
